package com.kinghunt.misp.dal.dao.userx;

import com.kinghunt.misp.common.param.userx.RoleQueryParam;
import com.kinghunt.misp.dal.model.userx.RoleDO;

import java.util.List;

/**
* 角色
* Created by Mybatis Generator on 2023/07/04
*/
public interface RoleDAO {
    int deleteByPrimaryKey(Long id);

    int insert(RoleDO record);

    int insertSelective(RoleDO record);

    RoleDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RoleDO record);

    int updateByPrimaryKey(RoleDO record);

    Long getTotalCount(RoleQueryParam param);

    List<RoleDO> paging(RoleQueryParam param);

    List<RoleDO> selectByIds(List<Long> ids);
}